//
//  CLReadLeftView.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2022/7/16.
//

#import <UIKit/UIKit.h>
#import "CLSegmentedControl.h"
#import "CLReadCatalogView.h"
#import "CLReadMarkView.h"
NS_ASSUME_NONNULL_BEGIN

/// leftView 宽高度
#define CL_READ_LEFT_VIEW_WIDTH CL_SPACE_SA_335
#define CL_READ_LEFT_VIEW_HEIGHT SCREENHEIGHT

/// leftView headerView 高度
#define CL_READ_LEFT_HEADER_VIEW_HEIGHT CL_SPACE_SA_50

@interface CLReadLeftView : UIView
// 功能栏
@property (nonatomic, strong) CLSegmentedControl *segmentedControl;
// 分割线
@property (nonatomic, strong) UIView *spaceLine;
// 目录
@property (nonatomic, strong) CLReadCatalogView *catalogView;
// 书签
@property (nonatomic, strong) CLReadMarkView *markView;
/// 刷新UI 例如: 日夜间可以根据需求判断修改目录背景颜色,文字颜色等等
- (void)updateUI;
@end

NS_ASSUME_NONNULL_END
